.parent {
    width: 500px;
    height: 200px;
    background-color: green;
    padding: 10px;
}

.child{
    width: 100%;
    background-color: skyblue;
    padding: 10px;
}